package decoration;

/**
 * @Author: linKe
 * @Date: 2022/1/15 9:55
 * @FileName: CondimentDecorator
 * @version: 1.0
 * @Description: 饮料装饰者
 */
public abstract  class CondimentDecorator extends Beverage {
    private Beverage beverage;

    public Beverage getBeverage() {
        return beverage;
    }

    public CondimentDecorator(Beverage beverage) {
        this.beverage = beverage;
    }

    /**
     * 再次重写此方法
     */
    @Override
    public abstract String getDescription();
}
